﻿/**
 * Nutilities
 * 
 * Package: Net
 */

using System.IO;

namespace Nutilities.Net
{
    /// <summary>
    /// Allows the implementing object to be written through a BinaryWriter by implementing it's own output scheme
    /// </summary>
    public interface IBinaryUpdateable
    {
        /// <summary>
        /// Writes the object through a BinaryWriter
        /// </summary>
        void UpdateTo(BinaryWriter writer);
    }
}
